﻿<%@page import="com.dsz.entity.Companyinfo"%>
<%@ page language="java" import="java.util.*,com.dsz.entity.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>四色火无限集团</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
<link rel="alternate icon" type="image/png" href="images/favicon.png">
<link rel='icon' href='favicon.ico' type='image/x-ico' />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link rel="stylesheet" href="css/default.min.css?t=227" />
<!--[if (gte IE 9)|!(IE)]><!-->
<script type="text/javascript" src="lib/jquery/jquery.min.js"></script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="lib/amazeui/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
<script type="text/javascript" src="lib/handlebars/handlebars.min.js"></script>
<script type="text/javascript" src="lib/iscroll/iscroll-probe.js"></script>
<script type="text/javascript" src="lib/amazeui/amazeui.min.js"></script>
<script type="text/javascript" src="lib/raty/jquery.raty.js"></script>
<script type="text/javascript" src="js/main.min.js?t=1"></script>
</head>
<body>
	<%Companyinfo comp = (Companyinfo)request.getAttribute("comp"); %>
	<%-- <jsp:include page="head.jsp"></jsp:include> --%>
	<section class="index-section">
		<div>
			<!-- <span></span> <span></span> -->
		</div>
		<div class="index-content">
			<section class="index-content-section-first">
				<div>
					<img src="img/1.jpg"  alt="">
				</div>
			</section>
			<section class="index-content-section-second">
				<div>
					<div class="index-auto">
						<article>公司介绍</article>
						<h6>COMPANY INTRODUCTION</h6>
						<main><%=comp.getDescribes() %><!-- FURNITUREDESGIN是一家拥有丰富的经验的家具设计公司。所设计的家具销往全国各地。设计的实践，在于为生活提供更舒适的环境及精确负责的施工，我们具有非常专业的团队，为客户创造符合装修风格的贴心家具。满足客户的要求与喜好，甚至将梦想中的生活氛围透过专业的感知力呈现，将家具透过色彩以及最和谐的比例设计而成。公司凭借高素质的人才队伍，先进的工艺和完善的企业管理，赢得了国内外客户的良好赞誉。 --></main>
						<a class="index-button" href="#">查看详情</a>
					</div>
				</div>
			</section>
		</div>
	</section>

	<section class="index-product">
		<main>
		<ul>
			<li class="index-active"><a href="ProductServlet?oid=3&pcate=1"></a>
			</li>
			<li><a href="ProductServlet?oid=3&pcate=2"></a>
			</li>
			<li><a href="ProductServlet?oid=3&pcate=3"></a>
			</li>
			<li><a href="ProductServlet?oid=3&pcate=4"></a>
			</li>
		</ul>
		</main>
		<main></main>
		<main></main>
	</section>
	<div class="copyrights">
		Collect from <a href="http://www.cssmoban.com/">网页模板</a>
	</div>
	<section class="index-margin-bottom">
		<div class="index-morecase">
			<span></span> <a href="ProductServlet?oid=1">MORE &#62; &#62;</a>
		</div>
		<div class="index-content">
			<div class="product-list">
			<%ArrayList<Product> lists = (ArrayList<Product>)request.getAttribute("pro"); 
		 for(Product p : lists){%>
				<div class="am-u-sm-6 am-u-md-6 am-u-lg-4">
		
		
					<a href="ProductServlet?oid=2&pid=<%=p.getId() %>&fid=<%=p.getF_pcid()%>"> <img src="<%=p.getPic0() %>" />
					</a>
				</div>
				<%} %>
			</div>
		</div>
		
	</section>


	<section class="index-margin-bottom">
		<div class="index-morecase">
			<span></span> <a href="NewsServlet?oid=1">MORE &#62; &#62;</a>
		</div>
		<div class="index-content">

			<div class="new-index">
				<ul>
					<li><img src="img/lbjn1.3.jpg" alt=""></li>
					 <!-- <li><img src="img/2.jpg" alt=""></li>  -->
					<!-- <li><a href="article_list_content.html"><h3>怎么搭配茶几与沙发?</h3>
							<article>在现代居住空间里面，有沙发的地方似乎总也少不了
								茶几的身影。尤其在现代客厅里，一款实用、时尚的</article>
					</a>
					</li> -->
				</ul>
				<ul>
       <%ArrayList<News> news = (ArrayList<News>)request.getAttribute("news"); 
          for(News n : news){
          String sn = n.getContent();
          if(sn.length()>10){
          sn=sn.substring(0,30)+"...";}
          
         
          %>
					<li><a href="NewscategoryServlet?oid=1&n=<%=n.getId()%>"><h3><%=n.getTitle() %></h3>
							<article><%=sn %></article> </a>
					</li>
					<!-- <li><a href="article_list_content.html"><h3>实木家具需保养防开裂</h3>
							<article>实木家具越来越受人们的欢迎，有很多业主在装修时
								都选择实木家具。但是他们购买之后不对它进行保养</article>
					</a></li>
					<li><a href="article_list_content.html"><h3>卧室如何选择合适的衣橱家具色彩</h3>
							<article>要选择合适的家具色彩，首先要符合个人爱好，又要
								注意与房间的大小、室内光线的明暗相结合，并且要</article>
					</a></li>
					<li><a href="article_list_content.html"><h3>韩派办公家具制作工艺过程</h3>
							<article>苏州韩派办公家具制作工艺过程，品牌办公家具厂家
								都具有一整套生产流程，通过对工艺流程的规范以及</article>
					</a></li> -->
                <%}  %>
				</ul>
			</div>
		</div>
	</section>

	<jsp:include page="footer.jsp"></jsp:include>﻿
	<%-- <footer>
		<div>
			<div class="footer-info">
				<div class="footer-content">
					<img src="images/qccode.png" alt="">
					<div>
						<p>招商热线:<%=comp.getTel() %><!-- 0714-8868331 --></p>
						<div class="footer-box">
							<i class="icon-tel"></i> <span>公司电话:</span> <span><%=comp.getTel() %></span>
						</div>
						<div class="footer-box">
							<i class="icon-email"></i> <span>公司邮箱:</span> <span><%=comp.getEmail() %></span>
						</div>
						<div class="footer-box">
							<i class="icon-address"></i> <span>公司地址:</span> <span><%=comp.getAddress() %></span>
						</div>
					</div>
				</div>
			</div>
			<style>
.footer-bottom a {
	color: #F1404B
}
</style>
			
		</div>
	</footer> --%>
</body>
</html>
